<h1>Listing user2s</h1>

<table>
  <tr>
    <th>Login</th>
    <th>Password</th>
  </tr>

<% for user2 in @user2s %>
  <tr>
    <td><%=h user2.login %></td>
    <td><%=h user2.password %></td>
    <td><%= link_to 'Show', user2 %></td>
    <td><%= link_to 'Edit', edit_user2_path(user2) %></td>
    <td><%= link_to 'Destroy', user2, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New user2', new_user2_path %>
